package com.party.core.model.charge;

import com.party.core.model.BaseModel;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @program: party
 * @description: 汇款凭证
 * @author: Hua Qunhao
 * @create: 2019-05-21 10:39
 **/
public class RemittanceVoucher extends BaseModel {

    //产品和用户关系表id
    @NotBlank(message = "产品用户关系id不能为空")
    private String packageMemberId;

    //开户名
    @NotBlank(message = "开户名不能为空")
    private String accountName;

    //开户行
    @NotBlank(message = "开户行不能为空")
    private String openingBank;

    //银行账号
    @NotBlank(message = "银行账号不能为空")
    private String bankAccount;

    public String getPackageMemberId() {
        return packageMemberId;
    }

    public void setPackageMemberId(String packageMemberId) {
        this.packageMemberId = packageMemberId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getOpeningBank() {
        return openingBank;
    }

    public void setOpeningBank(String openingBank) {
        this.openingBank = openingBank;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }


    @Override
    public String toString() {
        return "RemittanceVoucher{" +
                ", packageMemberId='" + packageMemberId + '\'' +
                ", accountName='" + accountName + '\'' +
                ", openingBank='" + openingBank + '\'' +
                ", bankAccount='" + bankAccount + '\'' +
                '}';
    }
}
